package cate.common.table.farm.config.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "副本购买配置")
public class FbBuyConfigRow extends ERow {
    @NoteField(value = "功能ID")
    public int funcId;

    @NoteField(value = "免费次数")
    public int free;

    @NoteField(value = "可购买次数")
    public int buyTime;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("功能ID", 0);
        this.funcId = xrw.getInteger("功能ID", 0);
        this.free = xrw.getInteger("免费次数", 0);
        this.buyTime = xrw.getInteger("可购买次数", 0);
    }
}
